package net.lzzy.entity;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name="t_comment")
@Data
public class Comment {
    @Id
    private Integer id;
    private String author;
    private String content;

    @Column(name="a_id")
    private  Integer aId;
}
